feat(cli): iq implementation start --issue <N> — open a cycle in one command#296
Merged
Conversation
…command Closes #295. Replaces the manual bootstrap that inquiry-start.md handed to the model step by step (derive slug, git checkout -b, mkdir cleanroom, hand-write index.md, transition) with a single deterministic command: it resolves the project root, auto-initializes the workspace when .inquiry/ is missing, reads the issue title from GitHub, derives and checks out the <NNN>-<slug> branch, and fires start_analyze (whose existing effect scaffolds the cleanroom). main -> one command -> linked branch + cleanroom + ANALYZE. - First module built to the module-per-stage direction (iq <stage> <verb>), recorded in docs/roadmap.md; --issue is an explicit required flag. - Branch-policy failure now teaches: expected pattern + example + actual branch + the command that fixes it, instead of a bare assertion. - inquiry-start.md no longer teaches git/mkdir/hand-writing scaffold; it invokes the command (mechanical processes are iq commands, not model instructions). - Tests: branch_name (slug/pad/compose) + implementation_start integration (branch, cleanroom, ANALYZE, auto-init, idempotency, teaching errors). 593 pass. - Bump 0.20.0 -> 0.21.0 across version.dart, pubspec, site badge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #295.
What
Adds
iq implementation start --issue <N>: one explicit command that takes a published issue from nothing to a ready ANALYZE cycle. It replaces the manual bootstrap thatinquiry-start.mdhanded to the model step by step.The command:
.inquiry/is missing (no separateiq init),<NNN>-<slug>branch and checks it out,start_analyze, whose existingopen_analysis_contexteffect scaffoldscleanrooms/<branch>/analyze/.Proven end-to-end in a real repo:
main→ one command → linked branch + cleanroom + ANALYZE.Design decision recorded (this PR)
docs/roadmap.mdnow records the module-per-stage direction (iq <stage> <verb>:iq requisition,iq specification,iq implementation,iq analyze,iq plan,iq verification…, with shared verbsstart/skill/check, every argument explicit and named). This command is the first module built to that pattern and the template the other stages migrate toward.Two principles locked in:
iqcommand — never an instruction that has the model rungit/mkdir/write scaffold by hand.Also
inquiry-start.mdrewritten to invoke the command rather than reproduce its steps.Tests
branch_name_test(slug/pad/compose) +implementation_start_test(branch, cleanroom, ANALYZE, auto-init, idempotency, teaching errors). Full suite: 593 pass. Version bumped 0.20.0 → 0.21.0 across the three synced sources.